export interface Storage {
  access_token: string,
  user_info: string,
  sidebar_menu: string
}

// 用户信息
export interface UserInfo {
  id?: number,
  username?: string,
  mobile?: string,
  avatar?: string,
  email?: string,
  is_super?: boolean,
  roles?: Array<string>
}

// 状态
export interface AdminState {
  storage: Storage,
  access_token: string,
  is_logged_in: boolean,
  user_info: UserInfo,
  sidebar_menu: Array<any>
}
